function [vector matrix] = im2life(image)

image = imresize(image, .2, 'bilinear');
image = double(image);

%  image_after_transform = sqrt(image(1:end-1 ,:).^2 - image(2:end ,:).^2);
 image_after_transform = abs(image(1:end-1 ,:) - image(2:end ,:));
 %image_after_transform = uint8(image_after_transform);
 %image_after_transform = imresize(image_after_transform, .2, 'bicubic');
 %image_after_transform = abs(image_after_transform);
matrix = uint8(image_after_transform);
% matrix = imresize(matrix, .2, 'bilinear');
vector = image_after_transform(:);
